package com.huaxin.hxmodulesystem.models;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huaxin.hxmodulesystem.models.enums.AuditStatus;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 电工档案审核记录实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("electrician_archive_audit_records")
public class ElectricianArchiveAuditRecord extends BaseModel {
    /**
     * 电工档案id
     */
    @TableField(value = "electrician_archive_id")
    private String electricianArchiveId;

    /**
     * 审核状态：0-待审核；1-通过；2-拒绝
     */
    @TableField(value = "audit_status")
    private AuditStatus auditStatus;

    /**
     * 审核意见
     */
    @TableField(value = "comment")
    private String comment;

    // 注意：
    // orgId, created_at, updated_at, is_deleted, deleted_at, deleted_by 等字段已继承自 BaseModel
}